restart -f -nowave
view wave
add wave sim:/gain_amplifier/*
force clk 0 0, 1 50ns -repeat 100ns
force ce 0 0, 1  150ns -repeat 300ns
force reset 0
run 300 ns
force reset 1 
run 3000 ns
force reset 0 
force GAIN(1) 0111111111111
force GAIN(2) 0111111111111
force GAIN(3) 0111111111111
force GAIN(4) 0111111111111
force GAIN(5) 0111111111111
force GAIN(6) 0111111111111
force GAIN(7) 0111111111111
force GAIN(8) 0111111111111
force raw_output(1) 0000111111111111011111111111110000000
force raw_output(2) 0000000001111111111111000000011111111
force raw_output(3) 0000011111111111101111111110000000111
force raw_output(4) 0110000000111111111111011111111111100
force raw_output(5) 0001100001111111111110111111111111100
force raw_output(6) 0011111110000111111111111011111111111
force raw_output(7) 0111001111111111110111111111111000001
force raw_output(8) 0010011111111111101111111111110011111
force FB_OE 1 
run 3000 ns
force fb_oe 0



run 90000 ns
force GAIN(1) 0111111111111
force GAIN(2) 0001111111111
force GAIN(3) 0001111111111
force GAIN(4) 0001111111111
force GAIN(5) 0001111111111
force GAIN(6) 0001111111111
force GAIN(7) 0001111111111
force GAIN(8) 0001111111111
force raw_output(1) 0000111100000000000000000000000000000
force raw_output(2) 0000111100000000000000000000000000000
force raw_output(3) 0000111100000000000000000000000000000
force raw_output(4) 0000111100000000000000000000000000000
force raw_output(5) 0000111100000000000000000000000000000
force raw_output(6) 0000111100000000000000000000000000000
force raw_output(7) 0000111100000000000000000000000000000
force raw_output(8) 0000111100000000000000000000000000000
force FB_OE 1 
run 3000 ns
force fb_oe 0



run 90000 ns

